package com.nageoffer.subject.domain.service;

import com.nageoffer.subject.domain.entity.SubjectLabelBO;

import java.util.List;

/**
 * 标签接口层
 */
public interface SubjectLabelDomainService {
    /**
     * 新增标签
     */
    Boolean addLabel(SubjectLabelBO subjectLabelBO);

    /**
     * 更新标签
     */
    Boolean updateLabel(SubjectLabelBO subjectLabelBO);

    /**
     * 删除标签
     */
    Boolean deleteLabel(SubjectLabelBO subjectLabelBO);

    /**
     * 查询分类下标签
     */
    List<SubjectLabelBO> queryLabelByCategoryId(SubjectLabelBO subjectLabelBO);
}
